package com.mdz.nc.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 孟德志
 * @since 2020-06-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ygxxb")
public class Ygxxb extends Model<Ygxxb> {

    private static final long serialVersionUID=1L;

    /**
     * 员工id号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 部门id号
     */
    @TableField("bmid")
    private Integer bmid;

    /**
     * 员工姓名
     */
    @TableField("xingm")
    private String xingm;

    /**
     * 员工姓名
     */
    @TableField("zjm")
    private String zjm;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
